Python 3.8.6rc1 (tags/v3.8.6rc1:08bd63d, Sep  7 2020, 23:10:23) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> import sys
>>> sys.platform
'win32'
>>> print(sys.version)
3.8.6rc1 (tags/v3.8.6rc1:08bd63d, Sep  7 2020, 23:10:23) [MSC v.1927 64 bit (AMD64)]
>>> import os
>>> os.getcwd()
'D:\\python'
>>> os.environ
environ({'ALLUSERSPROFILE': 'C:\\ProgramData', 'APPDATA': 'C:\\Users\\think\\AppData\\Roaming', 'COMMONPROGRAMFILES': 'C:\\Program Files\\Common Files', 'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files', 'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files', 'COMPUTERNAME': 'LAPTOP-M35O2J5T', 'COMSPEC': 'C:\\WINDOWS\\system32\\cmd.exe', 'CONFIGSETROOT': 'C:\\WINDOWS\\ConfigSetRoot', 'DRIVERDATA': 'C:\\Windows\\System32\\Drivers\\DriverData', 'HOME': 'C:\\Users\\think', 'HOMEDRIVE': 'C:', 'HOMEPATH': '\\Users\\think', 'LOCALAPPDATA': 'C:\\Users\\think\\AppData\\Local', 'LOGONSERVER': '\\\\LAPTOP-M35O2J5T', 'NUMBER_OF_PROCESSORS': '4', 'ONEDRIVE': 'C:\\Users\\think\\OneDrive', 'OS': 'Windows_NT', 'PATH': 'D:\\python\\Scripts\\;D:\\python\\Scripts\\；D:\\python;D:\\python\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Users\\think\\AppData\\Local\\Microsoft\\WindowsApps;C:\\ProgramData\\think\\GitHubDesktop\\bin;C:\\Users\\think\\AppData\\Local\\GitHubDesktop\\bin;C:\\Users\\think\\AppData\\Local\\Microsoft\\WindowsApps;;C:\\Program Files\\JetBrains\\PyCharm Professional Edition with Anaconda plugin 2020.1.1\\bin;', 'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW', 'PROCESSOR_ARCHITECTURE': 'AMD64', 'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 142 Stepping 12, GenuineIntel', 'PROCESSOR_LEVEL': '6', 'PROCESSOR_REVISION': '8e0c', 'PROGRAMDATA': 'C:\\ProgramData', 'PROGRAMFILES': 'C:\\Program Files', 'PROGRAMFILES(X86)': 'C:\\Program Files (x86)', 'PROGRAMW6432': 'C:\\Program Files', 'PSMODULEPATH': 'C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules', 'PUBLIC': 'C:\\Users\\Public', 'PYCHARM PROFESSIONAL EDITION WITH ANACONDA PLUGIN': 'C:\\Program Files\\JetBrains\\PyCharm Professional Edition with Anaconda plugin 2020.1.1\\bin;', 'SESSIONNAME': 'Console', 'SYSTEMDRIVE': 'C:', 'SYSTEMROOT': 'C:\\WINDOWS', 'TEMP': 'C:\\Users\\think\\AppData\\Local\\Temp', 'TMP': 'C:\\Users\\think\\AppData\\Local\\Temp', 'USERDOMAIN': 'LAPTOP-M35O2J5T', 'USERDOMAIN_ROAMINGPROFILE': 'LAPTOP-M35O2J5T', 'USERNAME': 'think', 'USERPROFILE': 'C:\\Users\\think', 'WINDIR': 'C:\\WINDOWS'})
>>> os.getenv('HOME')
'C:\\Users\\think'
>>> import datetime
>>> datetime.date.today()
datetime.date(2020, 9, 21)
>>> datetime.date.today().day
21
>>> datetime.date.today().month
9
>>> datetime.date.today(0.year
		    
SyntaxError: invalid syntax
>>> datetime.date.today ().year
2020
>>> datetime.date.isoformat(datetime.date.today())
'2020-09-21'
>>> import time
>>> time.strftime("%H:%M")
'22:14'
>>> time.strftime("%A:%p")
'Monday:PM'
>>> import html
>>> html.escape("This HTML fragment contains a <script>script</script> tag.")
'This HTML fragment contains a &lt;script&gt;script&lt;/script&gt; tag.'
>>> html.unescape("I&hearts;Python's &lt;standard library&gt;")
"I♥Python's <standard library>"
>>> 